package com.alinesno.cloud.initializr.starter.entity;

import com.alinesno.cloud.common.facade.mapper.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2020-11-20 10:06:08
 */
@TableName("initializr_java_version")
public class InitializrJavaVersionEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 语言版本名称
     */
    @TableField("java_name")
    private String javaName;
    /**
     * 语言版本号
     */
    @TableField("java_version")
    private String javaVersion;
    /**
     * 是否默认版本
     */
    @TableField("is_active")
    private Integer isActive;


    public String getJavaName() {
        return javaName;
    }

    public void setJavaName(String javaName) {
        this.javaName = javaName;
    }

    public String getJavaVersion() {
        return javaVersion;
    }

    public void setJavaVersion(String javaVersion) {
        this.javaVersion = javaVersion;
    }

    public Integer getIsActive() {
        return isActive;
    }

    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }


    @Override
    public String toString() {
        return "InitializrJavaVersionEntity{" +
                "javaName=" + javaName +
                ", javaVersion=" + javaVersion +
                ", isActive=" + isActive +
                "}";
    }
}
